//
//  ALPAppTools.h
//  AlpFM
//
//  Created by KING on 16/1/26.
//  Copyright © 2016年 Alp. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^AFNBLOCK)(id result);
typedef void(^AFNErrorBLOCK)(NSError *error);
typedef void(^AFNBlock)(id resuposeObject);

@interface ALPAppTools : NSObject
+(void)getWithAFNurl:(NSString *)url block:(AFNBLOCK)block error:(AFNErrorBLOCK)errorblock;
+ (void)creatingDataTask:(NSString *)url parameters:(NSDictionary *)parameters successAFNBlock:(AFNBlock)block;
@end
